﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace TinyForum.Web.Extensions.Mvc
{
    public static class MethodExtensions
    {
        public static string Image(this UrlHelper helper, string fileName)
        {
            return helper.Content(String.Format("~/Content/themes/{0}/assets/images/{1}", Site.Settings.SiteTheme, fileName));
        }
    }
}
